package com.vcom.deploy.log;

import java.util.HashMap;
import java.util.Map;

public class LogConstant {

    public static final String ALL_LOG_PATH_LINUX = "/opt/gongxiangcity/shared_moped_supervisor_java/sms_30020.log";
    public static final String ERROR_LOG_PATH_LINUX = "/opt/gongxiangcity/shared_moped_supervisor_java/sms_30020_error.log";

    public static final String ALL_LOG_PATH_WINDOWS = "F:\\code\\vcom\\sms\\shared_moped_supervisor_java\\sms_30020.log";
    public static final String ERROR_LOG_PATH_WINDOWS = "F:\\code\\vcom\\sms\\shared_moped_supervisor_java\\sms_30020_error.log";


    public static Map<String, String> windoesLogPathMap = new HashMap<>();
    public static Map<String, String> linuxLogPathMap = new HashMap<>();

    static {
        linuxLogPathMap.put("sms_error", ERROR_LOG_PATH_LINUX);
        linuxLogPathMap.put("sms", ALL_LOG_PATH_LINUX);
    }

    static {
        windoesLogPathMap.put("sms_error", ERROR_LOG_PATH_WINDOWS);
        windoesLogPathMap.put("sms", ALL_LOG_PATH_WINDOWS);
    }

}